package com.qf.enable;

import com.qf.condition.Stu;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class EnableMainApp {
    public static void main(String[] args) {
        ApplicationContext ioc = new AnnotationConfigApplicationContext(EnableTestConfig.class);

        Stu bean = ioc.getBean(Stu.class);

        System.out.println(bean);
    }
}
